<?php 
namespace app\model;
use think\Model;

class Goods extends Model
{	
    public static function getStatusCn($key){
        $list = ['关闭','开启'];
        return $list[$key];
    }

    public static function getStatusList(){
        $list = ['关闭','开启'];
        return $list;
    }

    public static function getTypeCn($key){
        $list = ['普通商品','积分商品','视频商品'];
        return $list[$key];
    }

    public static function getTypeList(){
        $list = ['普通商品','积分商品','视频商品'];
        return $list;
    }
}


 ?>